# Copyright (c) Huawei Technologies Co., Ltd. 2019. All rights reserved.

cmake_minimum_required(VERSION 3.5.1)

project(main)

add_compile_options(-std=c++11)


include_directories(
    /usr/local/Ascend/ascend-toolkit/latest/runtime/include/
    /usr/include
)

link_directories(
    /usr/local/Ascend/ascend-toolkit/latest/runtime/lib64/stub
)

add_executable(main
        main.cpp)

target_link_libraries(main ascendcl stdc++ opencv_core opencv_imgproc opencv_imgcodecs)


